package com.eam.dao;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.eam.bean.Assetallocation;

/**
 * A data access object (DAO) providing persistence and search support for
 * Assetallocation entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see com.eam.dao.Assetallocation
 * @author MyEclipse Persistence Tools
 */

public abstract class AssetallocationDAO extends HibernateDaoSupport {
	


	public abstract void save(Assetallocation transientInstance) ;

	public abstract void delete(Assetallocation persistentInstance) ;

	public abstract Assetallocation findById(java.lang.Integer id) ;

	public abstract List findByExample(Assetallocation instance);

	public abstract List findByProperty(String propertyName, Object value) ;

	public abstract List findByUserId(Object userId) ;

	public abstract List findByAssetId(Object assetId) ;

	public abstract List findByStatus(Object status) ;

	public abstract List findByNumber(Object number);

	public abstract List findByBeizu1(Object beizu1) ;

	public abstract List findByBeizhu2(Object beizhu2);

	public abstract List findAll() ;

	public abstract Assetallocation merge(Assetallocation detachedInstance);

	public abstract void attachDirty(Assetallocation instance) ;

	public abstract void attachClean(Assetallocation instance);

	
}